package com.smfx.yxt.daoSqlserver;

import java.util.List;

import com.smfx.yxt.model.TeacherExchangeCourseApply;
import com.smfx.yxt.model.TeacherInfo;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.reqVo.BaseQueryVO;
import com.smfx.yxt.view.TeacherExchangeCourseApplyView;

public interface TeacherExchangeCourseApplyMapper {

    int insertSelective(TeacherExchangeCourseApply record);

    TeacherExchangeCourseApply selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TeacherExchangeCourseApply record);

    List<TeacherExchangeCourseApplyView> selectPendingListByPage(Page<TeacherExchangeCourseApplyView> page);
    
    List<TeacherExchangeCourseApplyView> selectRejectListByPage(Page<TeacherExchangeCourseApplyView> page);
    
    List<TeacherExchangeCourseApplyView> selectAgreeListByPage(Page<TeacherExchangeCourseApplyView> page);
    
    TeacherExchangeCourseApplyView selectViewById(Integer id);
    
    List<TeacherInfo> selectChangeTeacher(BaseQueryVO vo);
    
    List<TeacherInfo> selectTeacherBySubjectId(BaseQueryVO vo);
    
    List<TeacherExchangeCourseApplyView> selectListByPage(Page<TeacherExchangeCourseApplyView> page);
    
}